package streamdef;

public class ConditionStatementFieldFromOneStream extends ConditionStatement {
	public Long internalStreamID;
	public String field;
	public Object fieldValue;
	public DEFINES.FieldRelationType relation;

	public ConditionStatementFieldFromOneStream(Long _internalStreamID,
			String _field, Object _fieldValue,
			DEFINES.FieldRelationType _relation) {
		type = DEFINES.ConditionStatementType.FIELD_ONESTREAM;
		internalStreamID = _internalStreamID;
		field = _field;
		fieldValue = _fieldValue;
		relation = _relation;
	}

	public Long getInternalStreamID() {
		return internalStreamID;
	}

	public String getField() {
		return field;
	}

	public Object getFieldValue() {
		return fieldValue;
	}

	public DEFINES.FieldRelationType getRelation() {
		return relation;
	}
}
